#ifndef _CLIENT_HPP_
#define	_CLIENT_HPP_
/*******************************************************************************
 ** Name: client.hpp                                                          **
 ** Description:                                                              **
 **                                                                           **
 ** Open Source Initiative (OSI) Approved License                             **
 **                                                                           **
 ** The contents of this file are subject to the terms of the                 **
 ** Common Development and Distribution License, Version 1.0 only             **
 ** (the "License").  You may not use this file except in compliance          **
 ** with the License.                                                         **
 **                                                                           **
 ** You can find a copy of the license in the LICENSE file within             **
 ** this distribution or at $WIKI/display/GOVT/License-software.              **
 ** Software distributed under the License is distributed on an "AS IS"       **
 ** basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.           **
 ** See the License for the specific language governing permissions           **
 ** and limitations under the License.                                        **
 **                                                                           **
 ** When distributing Covered Code, include this CDDL header in each          **
 ** file and include the License file at $GAME_DIR/LICENSE.                   **
 ** If applicable, add the following below this header, with the indicated    **
 ** fields enclosed by brackets "[]" replaced with your own identifying       **
 ** information: Portions Copyright [yyyy] [name of copyright owner]          **
 **                                                                           **
 **                                                                           **
 ** Copyright (c) 2009-2011  Barry Gian James <gian@gamingods.net>            **
 ** All rights reserved.                                                      **
 ******************************************************************************/
// Created on March 24, 2010, 12:07 AM
// Modified $Date: 2012-07-16 15:37:05 -0600 (Mon, 16 Jul 2012) $ by $Author: unknown $

#define Client_hpp_ID   "$Id: client.hpp 68634 2012-07-16 21:37:05Z unknown $"

extern "C" {
#include <time.h>
}

#include <string>
#include "character.hpp"
#include "network.hpp"
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/ordered_index.hpp>
using boost::multi_index_container;
using namespace boost::multi_index;
#include <boost/circular_buffer.hpp>

#define MAX_RECV_LEN	256


//struct sock { };
//struct sname { };
//typedef multi_index_container<
//	Client*,
//	indexed_by<
//		ordered_unique<tag<sock>, BOOST_MULTI_INDEX_MEMBER(Client,int,sock)>,
//		ordered_unique<tag<sname>, BOOST_MULTI_INDEX_MEMBER(Client,std::string,sname)>
//	>
//> clientSet;
//typedef clientSet::index<sock>::type clientSetBySocket;
//typedef clientSet::index<sname>::type clientSetByName;
//
//Client *	FindClient(int);
//Client *	FindClient(std::string &);
//
//extern clientSet clients;

#endif	/* _CLIENT_HPP_ */

